	{% extends 'rango/base.html' %}
	{% load staticfiles %}
	{% block title_block %}
		Add Category
	{% endblock %}
	
	{% block body_block %}
		<div class="jumbotron">
			<h1 class="display-3">Add a Category</h1>			
	 	</div>
		<div>
			<form id="category_form" method="post" action="{% url 'add_category' %}">
				{% csrf_token %}
				{% for hidden in form.hidden_fields %}
	                {{ hidden }}
	            {% endfor %}

	            {% for field in form.visible_fields %}
	                {{ field.errors }}
	                {{ field.help_text }}
	                {{ field }}
	            {% endfor %}

	            <input type="submit" name="submit" value="Create Category" />
	        </form>
		</div>	
        
	{% endblock %}



	
	<!-->

	<!DOCTYPE html>
	<html>
	    <head>
	        <title>Rango - Add Category</title>
	    </head>

	    <body>
	        <h1>Add a Category</h1>

	        <form id="category_form" method="post" action="/rango/add_category/">

	            {% csrf_token %}
	            {% for hidden in form.hidden_fields %}
	                {{ hidden }}
	            {% endfor %}

	            {% for field in form.visible_fields %}
	                {{ field.errors }}
	                {{ field.help_text }}
	                {{ field }}
	            {% endfor %}

	            <input type="submit" name="submit" value="Create Category" />
	        </form>
	    </body>

	</html>
		
-->